var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function (req, res, next) {
    res.send({
        code: 200,
        message: 'success',
        data: {
            list: [
                {
                    label: '上海玖捌贰物联科技有限公司',
                    value: 1,
                    children: [
                        {
                            label: '研发部门',
                            value: 2,
                        },
                        {
                            label: '综合部门',
                            value: 3
                        },
                        {
                            label: '财务部门',
                            value: 4
                        },
                        {
                            label: '人事部门',
                            value: 5
                        }
                    ]
                }
            ]
        }
    });

});

module.exports = router;
